package com.itheima.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassQueryRequest {
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    LocalDate beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    LocalDate endDate;
    String name;
    Integer page;
    Integer pageSize;
}
